package com.jsyl.entity.core;

import java.io.Serializable;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 用户对应的银行卡信息，用于平台提现
 * @author song
 *
 */
@Entity(table = "NF_ACCOUNT_BANK")
public class AccountBank extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 7898379814428571429L;
		   
	     @Id
		 @Column("ID")
		 private Integer id;
		 
		 /* 用户ID*/
		 @Column("USER_ID")
		 private  Integer userId;
		 
		 /* 银行账号*/
		 @Column("ACCOUNT")
		 private String account;
		 
		 /* 所属银行  所属银行 code 来做字典表 ，数据类型为 ：9 */
		 @Column("BANK")
		 private String bank;
		 
		 /* 支行*/
		 @Column("BRANCH")
		 private String branch;
		 
		 /*省 默认 -1*/
		 @Column("PROVINCE")
		 private Integer province;
		 
		 /*城市 默认 -1*/
		 @Column("CITY")
		 private Integer city;
		 
		 /*区、县 */
		 @Column("AREA")
		 private Integer area;
		 
		/* 账户状态 '0：关闭，1：启用'*/
		 @Column("STATUS")
		 private Integer status;
		 
		 /*添加时间*/
		 @Column(" ADDTIME")
		 private String addTime;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public Integer getUserId() {
			return userId;
		}

		public void setUserId(Integer userId) {
			this.userId = userId;
		}

		public String getAccount() {
			return account;
		}

		public void setAccount(String account) {
			this.account = account;
		}

		public String getBank() {
			return bank;
		}

		public void setBank(String bank) {
			this.bank = bank;
		}

		public String getBranch() {
			return branch;
		}

		public void setBranch(String branch) {
			this.branch = branch;
		}

		public Integer getProvince() {
			return province;
		}

		public void setProvince(Integer province) {
			this.province = province;
		}

		public Integer getCity() {
			return city;
		}

		public void setCity(Integer city) {
			this.city = city;
		}

		public Integer getArea() {
			return area;
		}

		public void setArea(Integer area) {
			this.area = area;
		}

		public Integer getStatus() {
			return status;
		}

		public void setStatus(Integer status) {
			this.status = status;
		}

		public String getAddTime() {
			return addTime;
		}

		public void setAddTime(String addTime) {
			this.addTime = addTime;
		}
		 
	

}
